#!/bin/bash

colorPrint(){
	case $1 in
	g)
		echo -e "\033[32m$2\033[0m"
		;;
	r)
		echo -e "\033[31m$2\033[0m"
		;;
	b)
		echo -e "\033[34m$2\033[0m"
		;;
	*)
		echo "usage:`basename $0` 颜色 显示内容"
		;;
	esac
}
